from influxdbHome.models import InfluxInfo


def regestUserName(name):
    InfluxInfo.objects.create(Name=name, IP="172.26.172.100", ProjectID="f51bc029-6211-4b4a-85c3-45ec65f3f761",
                              IDS="EIFE_AL1_503_PM5350_2.WHr_I", Begintime="2024-01-01", Days="365", Hours="0",
                              Minutes="0", Seconds="0", DataType="float", BaseNumber="80", RangeNumber="100",
                              Step="0")